package com.cmcc.pp.api;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * Created by shopping on 2017/12/22 11:35.
 * https://github.com/wheroj
 */

public interface TestApi {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("/uniqueComservice2/base.do?do=httpInterface&module=userService&method=getUserById")
    Observable<ResponseBody> testNet(@Body RequestBody body);
}
